/*

	Hernan Rivas Acosta
		hernanrivasacosta@gmail.com

	Licenced under the Mozilla Public Licence
		http://www.mozilla.org/MPL/MPL-1.1.html

	Hosted on Google Code
		http://code.google.com/p/as3localization/

*/
package org.her.localization.utils.parsers
{
	public interface IParser
	{

		/**
		 * Parses an XML calling the provided functions when necessary.
		 *
		 * @param addString A function that expects two strings, id and value.
		 * @param setId A function that receives one String indicating the parsed language id.
		 */
		// addString is a function that expects two strings, id and value.
		// setId is a function that receives one String indicating the parsed language id
		function parse (xml:XML, addString:Function, setId:Function = null):void

	}
}